/**
 * 
 */
package com.zc.BankCreditManagement.ZCUtil;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author ZhangCheng
 * @time 2019年9月27日
 */
public class GenerateIdUtil {

	public static String generateCusCreditLevelId(int cusId) {

		return "cCLevel"+new SimpleDateFormat("YYYYMMdd").format(new Date()) + cusId + 
					new SimpleDateFormat("HHmmss").format(new Date()) + 
						new GetRanNum().RanNum(5);
	}
	
	public static String generateCusDepositDetailsId(int cusId) {

		return "cDepD"+new SimpleDateFormat("YYYYMMdd").format(new Date()) + cusId + 
					new SimpleDateFormat("HHmmss").format(new Date()) + 
						new GetRanNum().RanNum(5);
	}
	
	public static String generateCusCreditLoanId(int cusId) {

		return "cCLoan"+new SimpleDateFormat("YYYYMMdd").format(new Date()) + cusId + 
					new SimpleDateFormat("HHmmss").format(new Date()) + 
						new GetRanNum().RanNum(5);
	}
	
}
